package com.hnrd.crud.mapper;

import java.util.List;

import org.springframework.stereotype.Service;

import com.hnrd.crud.pojo.TRole;
@Service
public interface TRoleMapper {
    
    int deleteByPrimaryKey(Integer id);
    
    int insert(TRole record);
    
    TRole selectByPrimaryKey(Integer id);
    
    List<TRole> selectAll();

    int updateByPrimaryKey(TRole record);

	List<String> selectRolesByUserName(String username);
}